<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title> es rest client </title>

</head>
<pre>

<form name=form1 method="post" target='_blank' action='rest_client_result.jsp'>

es server  
<input type='text' name="url" style='width:500px' value="http://127.0.0.1:9200">

user <input type='text' name="username">   pwd <input type='text' name="userpwd">

method <select name="reqmethod">

<option>GET</option>
<option>PUT</option>
<option>POST</option>
<option>DELETE</option>

</select>

<textarea name='request_body' cols='120' rows='15'> </textarea>



<input type="submit" value="query">
</form>

